chore: Initial work to add agent config schema#1741
Open
mvicknr wants to merge 15 commits into
Open
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 11 | 0 | 0 | 1.25s | |
| markdownlint | 8 | 0 | 23 | 0 | 1.67s | |
| ✅ PYTHON | ruff | 1046 | 0 | 0 | 0 | 1.08s |
| ✅ PYTHON | ruff-format | 1046 | 0 | 0 | 0 | 0.5s |
| ✅ YAML | prettier | 25 | 0 | 0 | 0 | 1.7s |
| ✅ YAML | v8r | 25 | 0 | 0 | 6.34s | |
| ✅ YAML | yamllint | 25 | 0 | 0 | 0.76s |
Detailed Issues
⚠️ MARKDOWN / markdownlint - 23 errors
.fleetControl/schemaGeneration/README.md:11:8 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:11:22 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:11:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:11:8 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:233:13 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:233:91 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:239:19 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:239:105 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:240:129 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
.fleetControl/schemaGeneration/README.md:247:8 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:247:18 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:247:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:247:8 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:255:8 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:255:18 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:255:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:255:8 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:266:15 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:266:26 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:266:33 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
.fleetControl/schemaGeneration/README.md:266:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:266:15 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
.fleetControl/schemaGeneration/README.md:266:26 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
Notices
📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)
See detailed reports in MegaLinter artifacts

Show us your support by starring ⭐ the repository
Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1741 +/- ##
==========================================
+ Coverage 82.07% 82.09% +0.02%
==========================================
Files 215 215
Lines 26589 26589
Branches 4213 4213
==========================================
+ Hits 21823 21829 +6
+ Misses 3315 3312 -3
+ Partials 1451 1448 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude <noreply@anthropic.com>
Pre-applies the YAML formatting that MegaLinter's YAML_PRETTIER would otherwise auto-fix. The auto-commit step in mega-linter.yml uses the default GITHUB_TOKEN, which cannot push changes to .github/workflows/* files (GitHub blocks workflow modifications without the 'workflow' PAT scope). Applying the fixes locally lets CI's auto-commit be a no-op.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Adds a script to automatically generate and update a configuration schema for the agent. This PR has the initial schema generated from the script.
The script will automatically run on local build and on pushes. It will determine if there are config changes and if so, it will update the schema. On local, the dev should include these changes in their commit. On push, if the changes aren't already made in the schema, it will make the changes and add them to the PR. The schema version will be updated as part of the regular agent release.
See the readme in the schemaGeneration directory to understand how the schema is generated.
Testing
The agent includes a suite of tests which should be used to
verify your changes don't break existing functionality. These tests will run with
Github Actions when a pull request is made. More details on running the tests locally can be found in our
testing guidelines,
For most contributions it is strongly recommended to add additional tests which
exercise your changes.